<?php

use yii\helpers\Html;
//use yii\grid\GridView;
use kartik\grid\GridView;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel common\models\AdminlogSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = Yii::t('app', 'Adminlogs');
$this->params['breadcrumbs'][] = $this->title;
?>
<link rel="stylesheet" href="/static/css/gridview.css">
<div class="adminlog-index">

    
    <?php Pjax::begin(); ?>
    <?php echo $this->render('_search', ['model' => $searchModel]); ?>

    <?= GridView::widget([
        'dataProvider' => $dataProvider,
        //'filterModel' => $searchModel,
        'columns' => [
            'log_id',
            'title',
            'addtime:datetime',
            'admin_name',
            'admin_ip',
            //'controller',
            //'action',
            //'objId',
            //'result',

            ['class' => 'yii\grid\ActionColumn'],
        ],
    ]); ?>
    <?php Pjax::end(); ?>
</div>
